<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:url var="postURL" value="/post"/>
<form method="post" action="${postURL}">
    <input type="text" name="content"/>
    <input type="submit" value="Post"/>
</form>